package com.sunrise.configuracoes.servico;

import java.util.Collection;

import javax.annotation.Resource;

import lombok.Getter;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sunrise.configuracoes.repositorio.iface.NaturezaNFDao;
import com.sunrise.generico.entidade.NaturezaNF;
import com.sunrise.generico.visao.Filtro;

@Service
@Transactional(readOnly = true)
public class ManterNaturezaNFService {
	
	@Resource(name = "naturezaNFDaoImpl")
	@Getter
	private NaturezaNFDao naturezaNFDAO;

	public Collection<NaturezaNF> buscarPorFiltros(Filtro naturezaNF){
		return getNaturezaNFDAO().buscarPorFiltros(naturezaNF);
	}
	
}